package cn.itsource.hrm.dto;

import cn.itsource.hrm.domain.Employee;
import cn.itsource.hrm.domain.Tenant;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

//机构入驻参数对象
@Data
public class TenantDto {
    @Valid
    private Tenant tenant;
    @Valid
    private Employee employee;
    @NotNull(message = "套餐必须选择")
    private Long  mealId;
}
